Execution Time of lambda-Terms via Denotational Semantics and Intersection Types
نویسنده
چکیده
This paper presents a work whose aim is to obtain information on execution time of λ-terms by semantic means. By execution time, we mean the number of steps in a computational model. As in [Ehrhard and Regnier 2006], the computational model considered in this paper will be Krivine’s machine, a more realistic model than β-reduction. Indeed, Krivine’s machine implements (weak) head linear reduction: in one step, we can do at most one substitution. In this paper, we consider two variants of this machine : the first one (Definition 2.4) computes the head-normal form of any λ-term (if it exists) and the second one (Definition 2.11) computes the normal form of any λ-term (if it exists). The fundamental idea of denotational semantics is that types should be interpreted as the objects of a category C and terms should be interpreted as arrows in C in such a way that if a term t reduces to a term t, then they are interpreted by the same arrow. By the Curry-Howard isomorphism, a simply typed λ-term is a proof in intuitionistic logic and the β-reduction of a λ-term corresponds to the cut-elimination of a proof. Now, the intuitionistic fragment of linear logic [Girard 1987] is a refinement of intuitionistic logic. This means that when we have a categorical structure (C, . . .) for interpreting intuitionistic linear logic, we can derive a category K that is a denotational semantics of intuitionistic logic, and thus a denotational semantics of λ-calculus. Linear logic has various denotational semantics; one of these is the multiset based relational model in the category Rel of sets and relations with the comonad associated to the finite multisets functor (see [Tortora de Falco 2000] for interpretations
منابع مشابه
Execution Time of Lambda-Terms via Non Uniform Semantics and Intersection Types
The relational semantics for Linear Logic induces a semantics for the type free Lambda Calculus. This one is built on non-idempotent intersection types. We give a principal typing property for this type system.We then prove that the size of the derivations is closely related to the execution time of lambda-terms in a particular environment machine, Krivine’s machine.
متن کاملIntersection Types for Normalization and Verification
One of the basic principles in typed lambda calculi is that typable lambda terms are normalizable. Since the converse direction does not hold for simply typed lambda calculus, people have been studying its extensions. This gave birth to the intersection type systems, that exactly characterize various classes of lambda terms, such as strongly/weakly normalizable terms and solvable ones (see e.g....
متن کاملExecution Time of λ-Terms via Denotational Semantics and Intersection Types
This paper presents a work whose aim is to obtain information on execution time of λ-terms by semantic means. By execution time, we mean the number of steps in a computational model. As in [Ehrhard and Regnier 2006], the computational model considered in this paper will be Krivine’s machine, a more realistic model than β-reduction. Indeed, Krivine’s machine implements (weak) head linear reducti...
متن کاملInnocent Game Semantics via Intersection Type Assignment Systems
The aim of this work is to correlate two different approaches to the semantics of programming languages: game semantics and intersection type assignment systems (ITAS). Namely, we present an ITAS that provides the description of the semantic interpretation of a typed lambda calculus in a game model based on innocent strategies. Compared to the traditional ITAS used to describe the semantic inte...
متن کاملIntersection Types for the λμ-Calculus
We introduce an intersection type system for the pure λμ-calculus, which is invariant under subject reduction and expansion. The system is obtained by describing Streicher and Reus’s denotational model of continuations in the category of omega-algebraic lattices via Abramsky’s domain logic approach. This provides at the same time an interpretation of the type system and a proof of the completen...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/0905.4251 شماره
صفحات -
تاریخ انتشار 2008